package com.spzx.common.rabbitmq.cons;

public interface SpzxMqCons {

    //订单交换机名称
    String ORDER_EXCHANGE = "spzx.order.exchange";
    //创建订单成功的队列名称
    String ORDER_SUBMIT_QUEUE = "spzx.order.submit.queue";
    String ORDER_SUBMIT_ROUTING_KEY = "spzx.order.submit";
    //死信交换机名称
    String ORDER_SUBMIT_DEAD_EXCHANGE = "spzx.order.dead.exchange";
    //死信队列名称
    String ORDER_SUBMIT_DEAD_QUEUE = "spzx.order.submit.dead.queue";
    String ORDER_SUBMIT_DEAD_MSG_ROUTING_KEY ="spzx.order.submit.dead";

    int ORDER_SUBMIT_DELAY_TIME = 30*60*1000;//30*1000;//30*60*1000;
    String ORDER_SUBMIT_DELAY_EXCHANGE = "spzx.order.delay.exchange";
    String ORDER_SUBMIT_DELAY_QUEUE = "spzx.order.submit.delay.queue";
    String ORDER_SUBMIT_DELAY_MSG_ROUTING_KEY = "spzx.order.submit.delay";

    //关单的释放库存的路由key
    //    String ORDER_CLOSE_RELEASE_STOCK_ROUTING_KEY = "spzx.product.stock.release";


    //释放库存的队列
    String SPZX_STOCK_RELEASE_QUEUE = "spzx.stock.release.queue";
    String SPZX_STOCK_RELEASE_ROUTING_KEY = "spzx.stock.release";
}
